<html>
<head>
	<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
		<meta name="description" content="">
   <meta charset="UTF-8" />
   <title>Highcharts 教程 | 菜鸟教程(runoob.com)</title>
   <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
   <script src="https://code.highcharts.com/highcharts.js"></script>
</head>
<body>
<div id="container" style="width: 550px; height: 400px; margin: 0 auto"></div>
<script language="JavaScript">
$(document).ready(function() {
	var chart = {
      type: 'spline'      
   }; 
	var title= {
text:null,
};
   var xAxis = {
      categories: ['2013', '2014', '2015', '2016', '2017', '2018',
         '2019'],gridLineColor:'#ccc',gridLineWidth:1,lineColor:'#8ed2e7'
         
   };
  
   var yAxis = {
// 	gridLineWidth: 0,
tickInterval: 10,
   	 labels: {
                enabled: false
            },//
             title: {
                text: ''
            },
   	tickWidth:0,
     categories: [],
   };   



   var legend = {
      layout: 'vertical',
      align: 'right',
      verticalAlign: 'middle',
      borderWidth: 0,
      enabled: false
   };

  var plotOptions={
				spline: {
//					marker: {
////						radius: 2,
////						lineColor: '#333',
////						lineWidth: 1,
//						
//					},
//					 states:{ 
//                     hover:{ 
//                         enabled:true
//                     }
//                 }
					
				}

		};

// var  tooltip={
//        valueSuffix: ''
//      };

   var series =  [
      {
         name: '运势',
          type: 'spline', 
//        smooth: true,
          
         data: [3,10,8,12,24,30,35]
      }, 

   ];
   var credits={
     enabled:false // 禁用版权信息
};

   var json = {};
// json.tooltip=tooltip;
	json.chart = chart;
   json.credits = credits;
   json.title = title;
   json.xAxis = xAxis;
   json.yAxis = yAxis;
json.plotOptions = plotOptions;
   json.legend = legend;
   json.series = series;

   $('#container').highcharts(json);
});










</script>
</body>
</html>
